package org.example.meetingsystem.DTO;

import jakarta.validation.constraints.Future;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ReservationRequestDTO {
    @NotNull(message = "开始时间不能为空")
    @Future(message = "开始时间必须是未来时间")
    private LocalDateTime startTime;

    @NotNull(message = "结束时间不能为空")
    private LocalDateTime endTime;

    @NotNull(message = "参会人数不能为空")
    @Min(value = 1, message = "参会人数至少为1人")
    private Integer attendeeCount;

    private Boolean needProjector = false;
    private Boolean needAudio = false;
    private Boolean needNetwork = false;
    private String requirements;
}